package com.demo.spring.mvcframework.annotation;

import java.lang.annotation.*;

/**
 * @Author: GanXinle
 * @Date: 2020/1/8 11:04
 */
//@Target 决定注解的适用范围
@Target({ElementType.FIELD})
//@Retention 决定注解的生命周期，Runtime表示整个程序运行期间皆有效
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Autowired {
    String value() default "";
}
